#include "StdAfx.h"
#include "Launcher.h"


Launcher::Launcher(
	Controller::Projectile projectile,
	float cooldown
	)
	:
	projectile(projectile),
	cooldown(cooldown),
	cooldownRemaining(cooldown)
{
}


Launcher::~Launcher(void)
{
}

//Ogre::String Launcher::getEntityName()
//{
//	return entityName;
//}

Controller::Projectile  Launcher::getProjectile()
{
	return projectile;
}


float Launcher::getCooldown()
{
	return cooldown;
}

void Launcher::resetCooldown()
{
	cooldownRemaining = cooldown;
}


float Launcher::setCooldownRemaining(float cdr)
{
	cooldownRemaining = cdr;
	return cooldownRemaining;
}

float Launcher::getCooldownRemaining()
{
	return cooldownRemaining;
}
